package com.kkb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author:CoolTiger
 * @title: HosRegisterVO
 * @projectName hospital1.0
 * @description: TODO 挂号表的模糊查询的多条件
 * @date:2022/07/18/09:12:28
 **/
public class HosRegisterVO {
    /*挂号多条件*/
    private Integer hosRRecode;//病历号
    //主治医生和科室同上
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;//开始时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;//结束时间
    private String doctorName;//医生姓名
    private String doctorKeshi;//科室

    public Integer getHosRRecode() {
        return hosRRecode;
    }

    public void setHosRRecode(Integer hosRRecode) {
        this.hosRRecode = hosRRecode;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDoctorKeshi() {
        return doctorKeshi;
    }

    public void setDoctorKeshi(String doctorKeshi) {
        this.doctorKeshi = doctorKeshi;
    }

    @Override
    public String toString() {
        return "HosRegisterVO{" +
                "hosRRecode=" + hosRRecode +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", doctorName='" + doctorName + '\'' +
                ", doctorKeshi='" + doctorKeshi + '\'' +
                '}';
    }
}
